package com.jyxd.web.service.assessment.basic;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jyxd.web.data.basic.BedBindDevice;
import com.jyxd.web.data.user.User;

import java.util.Date;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author baomidou
 * @since 2022-09-23
 */

public interface IBedBindDeviceService extends IService<BedBindDevice> {

    BedBindDevice selectOneByBedCodeAndTenantId(String bedCode, String tenantId, Date dataTime);

    void bind(User user, String bedCode, String deviceId, String dateTime, int deviceType);
}
